<ion-view title="填写排班日志">  

<ion-content class="has-header">
      
	<div class="list">
	  
	  <div class="card">
			<div class="item item-divider">
	         填写排班日志 [{{date}}]
	        </div>
	        
	         <label class="item item-input item-select">
			    <div class="input-label">
			      班次
			    </div>
			    <select class="form-control" ng-model='formData.banci'>
    				<option value="1">早</option>
    				<option value="2">中</option>
    				<option value="3">晚</option>
    				
    			</select>
			  </label>
	        <div class="item">
	         <textarea style="width:100%;" rows="8" placeholder="请填写日志" ng-model='formData.content'></textarea>
	        </div>
	        
	  	</div>

	  <div class="padding">
	  	<button class="button button-block button-positive" ng-click="savePaibanLog()">提交</button>
	  </div>

	  <ul class="list">
	  	<li class="item item-divider">
          排班日志历史
        </li>
        <li class="item" ng-repeat="item in scrollItems">
          <p style="white-space: normal;color: #333;">{{item.content}}</p>

          <p style="text-align:right;">{{item.username}}&nbsp;&nbsp;{{item.date}}</p>
        </li>

    </ul>
		
	</div>
	  
</ion-content>
</ion-view>